package com.atguigu.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName biz_product_stock
 */
@TableName(value ="biz_product_stock")
@Data
public class BizProductStock implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String pNum;

    /**
     * 商品库存结余
     */
    private Long stock;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}